/**
 * Class representing an ordering constraint in a 
 * partial order of actions (i.e. A < B, where A and B are actions)
 *
 */
public class OrderingConstraint {
	private Action before;
	private Action after;
	
	public OrderingConstraint(Action before, Action after) {
		this.before = before;
		this.after = after;
	}

	public Action getBefore() {
		return before;
	}

	public void setBefore(Action before) {
		this.before = before;
	}

	public Action getAfter() {
		return after;
	}

	public void setAfter(Action after) {
		this.after = after;
	}
	
	public String toString() {
		return before + " < " + after;
	}

}
